from django import forms
from django.forms import ModelForm
from django.contrib.auth.models import User
from profile.models import ProfileImage, UserProfile

class UploadProfilePhotoForm(ModelForm):
    class Meta:
        model = ProfileImage
        exclude = ('user', 'isPrimary', 'name')

class EditProfileInfoForm(ModelForm):
    class Meta:
        model = UserProfile
        exclude = ('user')